﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Macad.Core.Shapes;
using Macad.Occt;

namespace SpCad.Tools
{
    public abstract class ShapeBase
    {
        
        public TopoDS_Shape TShape { get; set; }
        public Geom_Curve Curve { get; set; }
        public Pnt StartPoint { get; set; }
        public Pnt EndPoint { get; set; }
        public GeomType Type { get; set; }
        public virtual Geom_Curve Geom { get; set; }
        public ShapeBase(TopoDS_Shape tshape, Geom_Curve curve, Pnt startPoint, Pnt endPoint)
        {
            TShape = tshape;
            Curve = curve;
            StartPoint = startPoint;
            EndPoint = endPoint;
            string a = "";
           
          
        }
        public abstract Pnt GetLocation();

        public abstract bool IsEqual(ShapeBase shape);

    }
}
